package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IDeviceDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("DeviceDataHistory")
public class DeviceDataHistory {
    @Autowired
    private IDeviceDataService deviceDataService;
    //定时修改到历史数据
    public void OldData(Integer minute) {
        deviceDataService.OldData(minute);

    }
}